package benchmarks.tpch.redis;

import api.Configuration;
import api.Loader;
import api.connection.DBConnection;
import api.connection.ConnectionRedis;
import benchmarks.tpch.TPCHBenchmark;

public class TPCHBenchRedis extends TPCHBenchmark {
    public TPCHBenchRedis(Configuration config) {
        super(config);
        databaseName = RedisName;
    }

    public DBConnection makeConnection() {
        return new ConnectionRedis(config);
    }

    public Loader makeLoaderImpl() {
        return new TPCHLoaderRedis(config.getScaleFactor());
    }
}
